﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using System.Linq;
using System.Text;

namespace ProjetoComperio.Framework.Configuration
{
    public class ConfigurationLoader
    {
        public class Keys
        {
            public const string COMPERIOURL = "ComperioUrl";
            public const string MAILSENDERPASSWORD = "MailSenderPassword";
            public const string MAILSENDERLOGIN = "MailSenderLogin";
            public const string COMPERIOADMINEMAIL = "ComperioAdminEmail";
        }
        public static string LoadValue(string nodeName)
        {
            return ConfigurationManager.AppSettings[nodeName];
        }
    }
}
